package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.Specialty;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SpecialtyMapper {
    int insert(Specialty specialty);

    int update(Specialty specialty);

    int delete(int id);

    List<Specialty> selectByPage();
    Specialty selectById(int id);
}
